<ion-menu [content]="content">

  <ion-toolbar>
    <ion-title>Menu</ion-title>
  </ion-toolbar>

  <ion-content>
    <ion-refresher (ionRefresh)="doRefresh($event)">
      <!--<ion-refresher-content
        pullingIcon="arrow-dropdown"
        [pullingText]=" 'refresher.pulling' | translate"
        refreshingSpinner="circles"
        refreshingText="{{'refresher.refreshingText' | translate}}">
      </ion-refresher-content>-->
    </ion-refresher>
    <ion-list>
      <button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
        {{p.title}}
      </button>
    </ion-list>
  </ion-content>

</ion-menu>

<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>
